<#if undefinedCheckList??&&(undefinedCheckList?size>0)>
    <#list undefinedCheckList as check>
        if (${check} == undefined) {
        debugLogging.assignOutput('${check} not defined');
        node.debugLog.push(debugLogging);
        debugLogging.assignDiffTime(logStartTime, logEndTime);
        throw new Error('${check} not defined');
        }
    </#list>
</#if>